<html>
<head>
<title>import</title>
<%include file="admin/header.html"%>
<style type="text/css">
fieldset {
    background: none repeat scroll 0 0 #eee;
    border: 1px solid #000000;
    margin-top: 1em;
    padding: 0.5em;
}
form{padding:20px 10px;}
p{font-size:14px;line-height:25px;}
.countnotice{margin-left:10px;font-size:20px;font-weight:bold;color:#FFF;width:250px;}
</style>
</head>
<body leftmargin="8" topmargin='8'>
	
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="1" background="/static/images/admin/sp_bg.gif" style='padding:0px'></td>
  </tr>
</table>
<form action="" method="post" enctype="multipart/form-data" name="form1">
    <fieldset class="options">
        <legend>油品导入</legend>

        <div class="formelementrow">
        <label for="input_import_file">整理好的cvs文件位置</label>
        <input style="margin: 2px" type="file" name="upfile" />  (最大限制：2 MB)<br />
		<input name="submit" type="submit" value="执行" />
        </div>
    </fieldset>
</FORM>

<br />
<%if $show == '1'%>
<p class="countnotice" style="background:#4DB849;">　导入成功：<%$okcount%> 行</p>
<p class="countnotice" style="background:#F50;margin-top:2px;">　导入失败：<%$errcount%> 行</p>
<%if $errorlist <> ''%>
<div style="margin:20px 10px;background:#FAFB92">
<p><b style="color:#F00">　失败指示：</b></p>
<%foreach from=$errorlist item=item key=key%>
<p>　　行：<%$key%> <%$item%></p>
<%/foreach%>
</div>
<%/if%>
<%/if%>
<br />
<p>　导入说明：</p>
<p>　　１.请按数据模板的格式填写，<a href="" target="blank">数据模板下载</a></p>
<p>　　２.不能对模板进行增减列操作。</p>
<p align="center">
Copyright &copy; 版权所有<br/>
<br/>
</p>
</body>
</html>